package com.it.xuehang.service;

import com.it.xuehang.entity.ResourceData;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 资源数据 服务类
 * </p>
 *
 * @author xuehang
 * @since 2024-12-10
 */
public interface ResourceDataService extends IService<ResourceData> {

    void addResourceData(ResourceData resourceData);
    void delResourceData(String resourceid);
    void updateResourceData(ResourceData resourceData);
    List<ResourceData> selectListByCondition(String keyword, Date startDate, Date endDate,String rescateid);
    List<ResourceData> searchWithinCircle(Double centerLat, Double centerLng, Double radius);
    Map<String, Object> importResources(MultipartFile file);

    void exportResourcesToExcel(HttpServletResponse response);
}
